<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
<div region="center" style="padding:1px;">
	<t:datagrid name="zyEsItemList" fitColumns="false" title="设备ITEM" 
		actionUrl="zyEsItemController.do?datagrid" idField="id" fit="true" queryMode="group">
		<t:dgCol title="主键"		field="id"		hidden="true"  queryMode="single"  width="120" />
		<t:dgCol title="ITEM"		field="item"		query="true"	queryMode="single"  width="100" />
		<t:dgCol title="型号"		field="type.typeDesc"		query="true"	queryMode="single"  width="100"	/>
		<t:dgCol title="ITEMDESC"	field="itemDesc"	query="true"	queryMode="single"  width="250" />
		<t:dgCol title="中文描述"	field="describes" query="true"	queryMode="single"  width="250" />
		<t:dgCol title="使用范围"	field="scope"		query="true"	queryMode="single"  width="300" />
		<t:dgCol title="是否返件"	field="isReturn"	replace="是_1,否_2"	query="true"	queryMode="single"  width="100" />
		<t:dgCol title="是否序列号追踪"	field="isTrack"	replace="是_1,否_2"	query="true"	queryMode="single"  width="100" />

		<t:dgCol title="操作" field="opt" width="50"></t:dgCol>
		<t:dgDelOpt operationCode="itemDel" title="删除" url="zyEsItemController.do?doDel&id={id}" />
		<t:dgToolBar operationCode="itemPut" title="录入" icon="icon-add" url="zyEsItemController.do?goAdd" funname="add" width="670" height="260"/>
		<t:dgToolBar  operationCode="itemEdit" title="编辑" icon="icon-edit" url="zyEsItemController.do?goUpdate" funname="update" width="670" height="260"/>
	</t:datagrid>
</div>
</div>
<script type="text/javascript">
</script>